//
//  Constants.h
//  Common
//
//  Created by heaven on 15/6/20.
//  Copyright (c) 2015年 heaven. All rights reserved.
//

//正式环境注释该行
#define TEST

#ifdef TEST
//测试环境

#define SERVER_API       @"http://beta.api.mypip.cn/router"
#define APP_KEY          @"JC-iOS-Beta"
#define APP_SECRET       @"NGZlYmUxNzNkOWY5Y2FhOWU4M2VjMjUz"
#define QRCODE_DOMAIN    @"http://119.23.133.89:4008"

//#define SERVER_API       @"http://release.api.mypip.cn/router"
//#define APP_KEY          @"JC-iOS-Release"
//#define APP_SECRET       @"MTgxN2EwMmRkNTdjZWE0OTM2MDVlNWE5"
//#define QRCODE_DOMAIN    @"http://release.gzduobeibao.com"

#define UpdataPhoto_Key  @"JC-iOS-Beta"

#else

//正式环境

#define SERVER_API       @"http://api.mypip.cn/router"
#define APP_KEY          @"JC-iOS-Prod"
#define APP_SECRET       @"MTgxN2EwMmRkNTdjZWE0OTM2MDVlNWE5"
#define QRCODE_DOMAIN    @"http://www.gzduobeibao.com"

#define UpdataPhoto_Key  @"JC-iOS-Prod"

//AppStoreUrl  https://itunes.apple.com/us/app/%E5%93%86%E5%A4%87%E5%AE%9D/id1236427625?mt=8&uo=4

#endif


/* Api Names */
#define API_LOGIN   @"login"


//接口头地址
#pragma mark 登录

#define Jc_Logout @"jc.logout"//退出登录
#define Jc_Login @"jc.login"//登录
#define Jc_Register @"jc.register"//注册
#define Login_Message_Create @"login.message.create"//登录ip

#define File_AppToken @"file.appToken"//上传图片



#pragma mark 首页
#define Finance_Treade_Stat  @"finance.trade.stat" //我的优待金
#define Domain_Score_Get_Type @"domain.score.get.type" //我的红星 商家红星详情
#define Finance_Acccount_Query @"finance.acccount.query"//查看我的优待金和我的购物豆
#define Advertisement_Aanner_SelectBannerByChannel @"advertisement.banner.selectBannerByChannel"//广告业务 bannerType 1、首页广告 2、商城广告 3、红星专区广告
#define Dictionary_QueryDictionaryTreeByType @"dictionary.queryDictionaryTreeByType"//获取segBar分类
#define App_Jc_RedStarValue_Get @"app.jc.redStarValue.get"//



/*** 红星专区 ***/
#define App_Jc_RedActivity_Result_Roll @"app.jc.redActivity.result.roll"//中奖滚动记录
#define Jc_Red_Activity_Page_Web @"jc.red.activity.page.web"//分页查询活动列表
#define Jc_Red_Activity_Detail_App @"jc.red.activity.detail.app"//活动详情
#define Jc_Red_Activity_Disclose_Detail @"jc.red.activity.disclose.detail"//揭晓详情列表
#define App_Jc_RedActivity_PageJoinToAPP @"app.jc.redActivity.pageJoinToAPP"//夺宝记录列表
#define Trade_Order_UpdateAddress @"trade.order.updateAddress"//确认收货地址
#define App_Jc_RedActivity_Result_Page @"app.jc.redActivity.result.page"//最新揭晓列表
#define App_Jc_RedActivity_Result_Detail @"app.jc.redActivity.result.detail"//计算详情
#define App_Jc_RedActivity_Join @"app.jc.redActivity.join"//参加抽奖活动
#define App_Jc_RedActivity_GetJoinTimes @"app.jc.redActivity.getJoinTimes"//获取活动剩余次数、参加次数、活动限制次数


/*** 订单录入 ***/
#define Trade_Order_QueryOrderToPc @"trade.order.queryOrderToPc"//获取商家订单列表
#define Trade_Order_Cancel @"trade.order.cancel"//取消订单
#define Domain_Goods_PageQuerySimpleGoods @"domain.goods.pageQuerySimpleGoods"//商品列表
#define App_Jc_Account_Detail_GetByAccount_Get @"app.jc.account.detail.getByAccount.get"//查询用户账号信息
#define App_Jc_Trade_Create @"app.jc.trade.create"//创建订单
#define Trade_Order_App_Get @"trade.order.app.get"//查看订单详情
#define Trade_Order_UploadImage @"trade.order.uploadImage"//上传图片
#define Trade_Order_Update_Goods @"trade.order.update.goods"//修改订单
#define Trade_Order_ConfirmOrder @"trade.order.confirmOrder"//提交订单
#define Trade_Platform_Account_List @"trade.platform.account.list"//获取平台账号列表


/*** 回购 ***/
#define Finance_Withdraw_Page @"finance.withdraw.page"//
#define Finance_Withdraw_Jc @"finance.withdraw.jc"//


/*** 捐赠 ***/
#define Finance_Trade_Page @"finance.trade.page"//
#define Finance_Pay_Donation @"finance.pay.donation"//

/*** 我的购物豆 ***/
#define Finance_Balance_Page @"finance.balance.page"//

/*** 我要推荐 ***/
#define User_Account_QueryRecommendedAccounts @"user.account.queryRecommendedAccounts"//

/*** 我的红星 ***/
#define Domain_Score_Get_Type @"domain.score.get.type"//
#define Domain_Score_Log_Get @"domain.score.log.get"//


#pragma mark 商家

#define Merchant_PueryPageMerchant @"merchant.queryPageMerchant"//
#define Merchant_App_Get @"merchant.app.get"//商家详情


#pragma mark 商城

#define Dictionary_QueryDictionaryListByTypeAndLevel @"dictionary.queryDictionaryListByTypeAndLevel"//默认分类
#define Domain_Goods_QueryGoodsToApp @"domain.goods.queryGoodsToApp"//商品列表
#define User_Common_Address_SelectByUserIdsAndTypes @"user.common.address.selectByUserIdsAndTypes"//获取默认地址
#define Trade_Order_CreateOrderForm @"trade.order.createOrderForm"//
#define Finance_Acccount_Pwd_Verify @"finance.acccount.pwd.verify"//
#define Finance_Pay_Balance @"finance.pay.balance"//
#define Finance_Pay_Thirdparty @"finance.pay.thirdparty"//
#define Domain_Goods_FindGoodsByIdToAPP @"domain.goods.findGoodsByIdToAPP"//商品详情
#define Trade_AddCartItem @"trade.addCartItem"//添加购物车
#define Trade_QueryCartItemApp @"trade.queryCartItemApp"//购物车列表
#define Trade_ChangeCartItemById @"trade.changeCartItemById"//数量改变
#define Trade_RemoveCartItemByIdBatch @"trade.removeCartItemByIdBatch"//批量删除






#pragma mark 我的

#define User_User_Common_UserCommon_Update @"user.user-common.userCommon.update"//


#define Domain_Account_Common_UpdateByCondition @"domain.account.common.updateByCondition"
#define Jhd_User_Password_Update @"jhd.user.password.update"//修改密码
#define Finance_Acccount_Pwd_Set @"finance.acccount.pwd.set"//
#define Finance_Acccount_Pwd_Update @"finance.acccount.pwd.update"//
#define Jc_Password_Find @"jc.password.find"//
#define Finance_Acccount_Pwd_Find @"finance.acccount.pwd.find"//

#define Jc_Sms_SendVerCode @"jc.sms.sendVerCode"//发送验证码
#define Trade_Order_Get @"trade.order.get"
#define Logistics_Message_QueryLogisticsMessage @"logistics.message.queryLogisticsMessage"//
#define Trade_Order_QueryMyOrder @"trade.order.queryMyOrder"//

#define Domain_User_Common_Address_Delete @"domain.user.common.address.delete"//删除地址
#define Domain_User_Common_Address_UpdateDefaultAddress @"domain.user.common.address.updateDefaultAddress"

#define Domain_User_Common_Address_Update @"domain.user.common.address.update"//
#define Domain_User_Common_Address_Add @"domain.user.common.address.add"

#define Finance_Third_Account_Page @"finance.third.account.page"//
#define Finance_Third_Account_Del @"finance.third.account.del"//
#define Finance_Third_Account_Add @"finance.third.account.add"//














